using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using BTBookList.Authorization.Roles;
using BTBookList.Authorization.Users;
using BTBookList.MultiTenancy;
using BTBookList.BookListManagement.Books;
using BTBookList.BookListManagement.CBookList;
using BTBookList.BookListManagement.BookTags;

namespace BTBookList.EntityFrameworkCore
{
    public class BTBookListDbContext : AbpZeroDbContext<Tenant, Role, User, BTBookListDbContext>
    {
        /* Define a DbSet for each entity of the application */
        #region
        public DbSet<Book> Books { get; set; }
        public DbSet<CBookList> CBookLists { get; set; }
        public DbSet<BookTag> BookTags { get; set; }

        #endregion

        public BTBookListDbContext(DbContextOptions<BTBookListDbContext> options)
            : base(options)
        {
        }
    }
}
